#!/bin/bash

# Termux一键安装脚本
# 功能：执行termux-setup-storage，更新包，克隆wintermux仓库并运行

echo "正在执行termux-setup-storage..."
termux-setup-storage

echo "正在更新软件包..."
pkg update -y

echo "正在克隆wintermux仓库..."
git clone https://github.com/termuxprofessor/wintermux

echo "进入wintermux目录..."
cd wintermux

echo "添加执行权限..."
chmod +x wintermux.sh

echo "运行wintermux.sh..."
bash wintermux.sh

echo "所有命令已执行完成！"